% Replicate figures, tables, and statistics based on quantitative model
clear 
close all
clc
tic
% Path where Replication folder is stored
cd TBA
cd Replication/QuantitativeModel/mfiles

% Baseline 
initialize_indicators;glob=1;
SolveEquilibrium

% NGF
clear 
initialize_indicators;ngf=1; 
SolveEquilibrium
 
% Importing
clear 
initialize_indicators;monly=1; 
SolveEquilibrium
 
%% NAFTA
clear 
initialize_indicators;nafta=1;
SolveEquilibrium
 
%% Expenditure Switching
clear 
initialize_indicators;
SolveEquilibrium_ExpSwitch
 
%% Free Entry
clear 
initialize_indicators;glob=1;
SolveEquilibrium_FE

%% Sensitivity analysis for eta and epsilon
clear 
initialize_indicators;eta35glob=1;
SolveEquilibrium
 
clear 
initialize_indicators;eta35NGF=1;
SolveEquilibrium

clear 
initialize_indicators;eta045glob=1;
SolveEquilibrium

clear 
initialize_indicators;eta045NGF=1;
SolveEquilibrium

clear 
initialize_indicators;eps27glob=1; 
SolveEquilibrium

clear 
initialize_indicators;eps27NGF=1; 
SolveEquilibrium

clear 
initialize_indicators;eps22glob=1; 
SolveEquilibrium

clear 
initialize_indicators;eps22NGF=1; 
SolveEquilibrium
TT = toc;